home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
winsock
/
ircii2-6.zip
/
SRC\IRCII-2.6\SOURCE\COUNT.L
< prev
next >
Wrap
Text File
|
1994-12-28
|
202b
|
17 lines
%{
int n = 0;
%}
%%
"#define"(\40|\t)+[A-Z0-9_]+(\40|\t)+"$\n" {
yytext[yyleng - 2] = '\0';
printf ("%s%d\n", yytext, n);
n++;
}
.*"\n" printf("%s", yytext);
%%
main()
{
yylex();
exit(0);
}